const { defineConfig } = require('@vue/cli-service')
console.log('process.env.NODE_ENV=', process.env.NODE_ENV)

module.exports = defineConfig({
  publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
  transpileDependencies: true,
  css: {
    loaderOptions: {
      scss: { api: 'modern-compiler' },
    }
  }
})
